//
//  PKMainLessonModel.m
//  PianKe
//
//  Created by lanou on 15/10/7.
//  Copyright (c) 2015年 lanou. All rights reserved.
//

#import "PKMainLessonModel.h"

@implementation PKMainLessonModel
-(void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"userinfo"]) {
        self.userinfo=[[PKUserInfo  alloc]init];
        [self.userinfo setValuesForKeysWithDictionary:value];
    }
   else if ([key isEqualToString:@"playInfo"]) {
        self.playInfo =[[PKPlayInfo alloc]init];
        [self.playInfo setValuesForKeysWithDictionary:value];
    }
    else
    {
        [super setValue:value forKey:key];
    }
}
@end
